package org.jeecg.modules.inspect.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 点位信息
 * @Author: jeecg-boot
 * @Date:   2023-11-23
 * @Version: V1.0
 */
@Data
@TableName("ins_point")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ins_point对象", description="点位信息")
public class InsPoint implements Serializable {
    private static final long serialVersionUID = 1L;

	/**点位ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "点位ID")
    private java.lang.String id;

	/**点位名称*/
	@Excel(name = "点位名称", width = 15)
    @ApiModelProperty(value = "点位名称")
    private java.lang.String pointName;

	/**点位介绍*/
	@Excel(name = "点位介绍", width = 15)
    @ApiModelProperty(value = "点位介绍")
    private java.lang.String pointIntroduce;

	/**位置*/
	@Excel(name = "位置", width = 15)
    @ApiModelProperty(value = "位置")
    private java.lang.String position;

	/**卡*/
	@Excel(name = "卡", width = 15, dictTable = "ins_card where card_status = '0'", dicText = "card_no", dicCode = "id")
	@Dict(dictTable = "ins_card where card_status = '0'", dicText = "card_no", dicCode = "id")
    @ApiModelProperty(value = "卡")
    private java.lang.String cardId;

    @Excel(name = "卡号", width = 15)
    @ApiModelProperty(value = "卡号")
    private String cardNo;

    @Excel(name = "卡名称", width = 15)
    @ApiModelProperty(value = "卡名称")
    @TableField(exist = false)
    private String cardName;

	/**点位状态*/
	@Excel(name = "点位状态", width = 15, dicCode = "point_status")
	@Dict(dicCode = "point_status")
    @ApiModelProperty(value = "点位状态")
    private java.lang.String pointStatus;

    /**
     * 菜单排序
     */
    private Double sortNo;

	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;

	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;

	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;

	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;

	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;

	/**删除标记 0正常 1已删除*/
	@Excel(name = "删除标记 0正常 1已删除", width = 15)
    @ApiModelProperty(value = "删除标记 0正常 1已删除")
    //@TableLogic
    private java.lang.Integer delFlag;

	/**组织机构编码*/
    @ApiModelProperty(value = "组织机构编码")
    private java.lang.String sysOrgCode;
}
